+plusarg_save
+access+r
//---------------------------------------------------------------------
// Include Directories
//---------------------------------------------------------------------
+incdir+../nsys_ex.v/nvs/model/bfm/src
+incdir+../nsys_ex.v/nvs/model/bfm/include
+incdir+../nsys_ex.v/nvs/model/monitor/src
+incdir+../nsys_ex.v/nvs/model/monitor/include
+incdir+../nsys_ex.v/nvs/model/checker/src
+incdir+../nsys_ex.v/nvs/model/checker/include
+incdir+../nsys_ex.v/nvs/model/cfg/
+incdir+../nsys_ex.v/test/
//---------------------------------------------------------------------
// Command line options For Message level
//---------------------------------------------------------------------
+EX_LOG                   // Option to Log Mode message level   
//+EX_ERROR               // Option to Error Mode message level   
//+EX_WARNING             // Option to Warning Mode message level   
//+EX_INFO                // Option to Info Mode message level   
//+EX_DEBUG               // Option to Debug Mode message level   
//---------------------------------------------------------------------
// Command line options For Test suite 
//---------------------------------------------------------------------
//+EX_BASIC_TEST                     // Option for Basic test
//+EX_TP_COMPLIANCE_TEST           // Option for TLP Compliance test
//+EX_DLL_COMPLIANCE_TEST          // Option for DLLP Compliance test
//+EX_PMG_COMPLIANCE_TEST          // Option for PMG Compliance test
//+EX_CFG_COMPLIANCE_TEST          // Option for configuration space Compliance test
//+EX_SYS_COMPLIANCE_TEST          // Option for SYS Compliance test
//+EX_PL_COMPLIANCE_TEST           // Option for PL Compliance test
+EX_BASIC_GEN2_TEST              // Option for Basic gen2 test
//+EX_GEN2_COMPLIANCE_TEST         // Option for gen2 compliance
//+EX_EP_PL_GEN2_COMPLIANCE_TEST   // Option for EP PL Gen2 compliance
//+EX_GEN2_EP_TP_COMPLIANCE_TEST   // Option for Gen2 TP Compliance test
//+EX_GEN2_EP_CFG_COMPLIANCE_TEST  // Option for Gen2 CFG Compliance test
//+EX_GEN2_EP_DLL_COMPLIANCE_TEST  // Option for Gen2 DLL Compliance test
//+EX_GEN2_PMG_COMPLIANCE_TEST     // Option for PMG Compliance test in Gen2 Mode
//+EX_SR_IOV_COMPLIANCE_TEST       // Option for SR-IOV Compliance test

+EX_BASIC_GEN3_TEST              // Option for Basic gen3 test

//+EX_DIRECT_TEST                  // Option for Directed test
//+EX_RANDOM_TEST                  // Option for Random test
//+define+EX_SEED=32               // Seed value for random test 
//+EX_ERROR_TEST                   // Option for Error test
+EX_USER_TEST                    // Option for User test
//+EX_PL_TRG_TEST                  // Option for PL Training test

//+define+EX_INIT_TEST             // Option to enable DUT Auto configuration
+define+EX_BAR_AUTOCONFIG          // Option to enable Auto configuration of DUT BARs,
                                   // applicable only if EX_INIT_TEST is enabled

+define+EX_GEN2_1                  // define to enable PCIe 2.1 Features
+define+EX_TEST_GEN2
//+define+EX_TEST_GEN3             // Option to run Gen1 test suite in Gen3 mode
+define+EX_LTSSM_LOG
+define+EX_GEN2
+define+EX_GEN3
//+define+EX_GEN3_PIPE_0_9         //Option to enable PIPE 0.9 version signals
//+define+EX_SYNOPSYS_ADDENDUM_0_9 //Option to enable PIPE 0.9 version signals    
//+define+EX_SRIOV
//+define+EX_MEM64_C_PLI           //Option for using Dynamic Memory PLI
//+define+EX_DISABLE_LOG_DLL       //Option to turnoff the DLL level log messages
//+define+EX_SERIAL_RCV_LOG        //Option to generate file that will have the serial bit stream received
//+define+EX_RUN_GEN3              //Option to run basic gen3 test

+define+EX_FIRST_CASE=1            // Option for first case of selected test
+define+EX_LAST_CASE=12	           // Option for last case of selected test

+define+p0=nvs_ex_up_wrapper    // Defines module of test wrap that 
                                // controlles firing of BFM0 command 
                                // for DUT    
+define+p1=nvs_ex_down_wrapper  // Defines module of test wrap that 
                                // controlles firing of BFM1 command 
                                // for DUT    
+define+BFM0=nvs_ex_top.Bfm0    // Defines the hirearcy of BFM 
                                // instance RC/SW  
+define+BFM1=nvs_ex_top.Bfm1    // Defines the hirearcy of BFM 
                                // instance EP
+define+CHK0=nvs_ex_top.Checker // Defines the hirearcy of checker 
                                // instance
+define+CHK1=nvs_ex_top.Checker1 // Defines the hirearcy of checker 
+define+MON1=nvs_ex_top.Monitor1 // Defines the hirearcy of monitor 
+define+MON0=nvs_ex_top.Monitor // Defines the hirearcy of monitor                               
                                // instance
+define+EX_TB=nvs_ex_top        // Defines  the top level test bench  


//---------------------------------------------------------------------
// Environmental Option
//--------------------------------------------------------------------
+define+EX_CHECK_LTSSM_RULES
+define+EX_PIPE_16_BIT=1              // Option to enable 16/8 bit PIPE
+define+EX_PIPE_32_BIT=0              // Option to enable 32 bit PIPE	
+define+EX_PROTECT                    // Option for encrypted code 
+define+EX_MONITOR                    // Option to enable Monitor 
+define+EX_CHECKER                    // Option to enable checker 


//+define+EX_VCS2009                 // Uncomment this for running Gen3 in VCS 2009.06
                                     // For other simulators and VCS version keep it commented
//The three define below are mutually exclusive
//+define+EX_TEST                       // Option to enable BFM to BFM 
                                      // Environment
+define+EX_TEST_DUT_UPSTREAM_PORT   // Option that enables the BFM 
                                      // as Down stream port and Up 
                                      // stream port as DUT  
//+define+EX_TEST_DUT_DOWNSTREAM_PORT // Option that enables the BFM 
                                      // as Up stream and Down stream 
                                      // port as DUT 

+EX_RAW                               // Option to generate raw file 
//+EX_DUMP                            // Option to dump out waveform
//+define+EX_ERROR_REPORT             // Option to print error report 
+define+EX_DO_LOG                     // Option to print nVS task info 
//+define+EX_POSEDGE_PCLK             // Option to sample TxData on the positive edge of the pclk.This define is meant only for DUT(EP).
//+define+EX_CROSSLINK                // To enable cross link feature
//+define+EX_STOP_ON_IDLE=10000       // To stop the simulation 
//+define+EX_STOP_ON_ERROR=0          // To stop the simulation on reaching error count 
//+define+EX_STOP_ON_WARNING=0        // To stop the simulation on reaching warning count 
//+define+EX_STOP_ON_TIME=0           // To stop the simulation on reaching time 
//+define+EX_STOP_ON_COUNT=0          // To stop the simulation on reaching count 
//+define+EX_UPCONFIG_GEN2            // Option to enable the Upconfiguration process for the Gen2 capable device.
//+define+EX_DNCONFIG_CFG_LKWDTH      // Option to enable the alternative method of Gen2 downconfiguration from the Configuration Linkwidth Start LTSSM state.
//+define+EX_WITH_DOCFG               // Enable this option when the EX_GEN2_PL_LINK_UPCONFIG_INFO needs to use.
//+define+EX_TRAINING_BYPASS_GEN2     //Option to Bypass the initial Training for the Gen2 mode.Should be enabled with the EX_TRAINING_BYPASS set to 1.
//+define+EX_TRAINING_BYPASS_GEN3     //Option to Bypass the initial Training for the Gen3 mode.Should be enabled with the EX_TRAINING_BYPASS set to 1.
//---------------------------------------------------------------------
// BFM Files 
//---------------------------------------------------------------------
./nvs_ex_top.v
../nsys_ex.v/nvs/model/bfm/src/nvs_ex_bfm.vp
../nsys_ex.v/nvs/model/monitor/src/nvs_ex_monitor.vp
../nsys_ex.v/nvs/model/checker/src/nvs_ex_check.vp
../nsys_ex.v/nvs/model/cfg/nvs_ex_pool.vp
../nsys_ex.v/nvs/model/cfg/nvs_ex_fifo.vp
../nsys_ex.v/nvs/model/cfg/nvs_ex_arg.vp
../nsys_ex.v/nvs/model/cfg/nvs_ex_split.vp
//../nvs/model/dut/nvs_ex_dut.vp                // Specify the DUT path
//---------------------------------------------------------------------
// Test Files 
//---------------------------------------------------------------------
//../test/nvs_ex_tests_rc.v // To fire RC Compliance Test
../nsys_ex.v/test/nvs_ex_tests.v    // To fire EP Compliance Test
//./nvs_ex_tests.v
// Wrapper file that controls the firing of test case from Dowun and UP 
// BFM instance
../nsys_ex.v/test/nvs_ex_down_wrapper.v
../nsys_ex.v/test/nvs_ex_up_wrapper.v

//---------------------------------------------------------------------
//=====================================================================	
//+define+EX_NCV_COMPILE_LIB
//+EX_START_CASE=1                   // Option for the first case of selected test in case the value is pass using valueplusargument
//+EX_END_CASE=1                     // Option for the last case of selected test in case the value is pass using valueplusargument
//=====================================================================

// --------------------------------------------------------------------
// Option for making signals dump for recreation activity
// --------------------------------------------------------------------
//+define+EX_RECREATION_DUMP_ON   
